package com.echo.code.spring.quartz;

import lombok.extern.log4j.Log4j;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * Created by baiyp on 2019/05/21.
 */
@Log4j
public class Job {

    private static final AtomicInteger count = new AtomicInteger(0);

    public void print() {
        int n = count.getAndIncrement();
        log.info("print count is " + n);
    }
}
